home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / cp2dekit / h / binfarc.h next >
Encoding:
C/C++ Source or Header  |  1996-12-29  |  774 b   |  33 lines

  1. //***************************************************************************
  2. //
  3. // this file is (c) '94-'96 Niklas Beisert
  4. //
  5. // this file is part of the cubic player development kit.
  6. // you may only use/modify/spread this file under the terms stated
  7. // in the cubic player development kit accompanying documentation.
  8. //
  9. //***************************************************************************
  10.  
  11. #ifndef __BFILEARC_H
  12. #define __BFILEARC_H
  13.  
  14. #include "binfile.h"
  15.  
  16. class abinfile : public binfile
  17. {
  18. protected:
  19.   binfile *f;
  20.   long fofs;
  21.  
  22. public:
  23.   abinfile();
  24.  
  25.   int open(binfile &fil, long ofs, long len);
  26.  
  27.   virtual long read(void *buf, long len);
  28.   virtual long write(const void *buf, long len);
  29.   virtual long seek(long pos);
  30. };
  31.  
  32. #endif
  33.